import request from '@/utils/request'

// 查询基因预约列表
export function listGeneReserve(query) {
  return request({
    url: '/gene/reserve/list',
    method: 'get',
    params: query
  })
}

// 查询基因预约列表
export function getGeneReserveDetail(id) {
  return request({
    url: '/gene/reserve/getReserveDetail/' + id,
    method: 'get'
  })
}

// 新增基因预约
export function addGeneReserve(data) {
  return request({
    url: '/gene/reserve/add',
    method: 'post',
    data: data
  })
}
// 删除基因预约
export function delPost(id) {
  return request({
    url: '/gene/reserve/' + id,
    method: 'delete'
  })
}
